package com.java.tutorials.jdk7.diamondoperator;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * Created by xuzhike on 2016/1/23.
 * http://www.java2s.com/Code/Java/JDK-7/UsingtheDiamondOperatorforConstructorTypeInference.htm
 * Using the Diamond Operator for Constructor Type Inference
 */
public class DiamondOperator1 {
    public static void main(String[] args) {

        List<String> list = new ArrayList<>();

        List<Map<String, List<String>>> stringList = new ArrayList<>();

    }
}
